home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
tex
/
ovrsgr.zip
/
OVRSGR.DOC
< prev
next >
Wrap
Text File
|
1986-10-15
|
3KB
|
116 lines
OVRSGR - Overstrike to SGR sequence translator Page 1
OVRSGR - Overstrike to SGR sequence translator
Copyright (c) 1985 by Digital Equipment Corporation, Maynard Mass.
All Rights Reserved
Command line:
ovrsgr [-s] [-i indent] [-o outfile] [infile [...]]
Description:
OVRSGR translates overstrikes resulting in bolding or underlining
into SGR (set graphic rendition) escape sequences setting bolding or
underlining as appropriate. Both eight-bit ASCII and the Digital
Multinational Character Set are recognized. All horizontal motion
control characters (backspace, horizontal tab, carriage return, space,
non-break space) are handled correctly; tabulation stops are assumed
to be every eight characters. All vertical motion control characters
(line feed, vertical tab, form feed, index, new line, partial line
down, partial line up, and reverse index) are handled correctly,
except that overprinting resulting from zero net effect vertical
motions (e.g., IND followed by RI) are not detected.
Control characters other than those listed above are ignored.
SGR escape sequences are recognized by most equipment conforming
to ANSI standard X3.64. This includes modern Digital terminals and
printers such as the VT100 and VT200 series terminals, the LA50 and
LA100 dot matrix printers, the LQP02 and LQP03 letter quality
printers, and the LN03 laser printer, and the Digital personal
computers such as the DECmate series, the Rainbow 100 series, and the
Professional 300 series personal computers. This also includes the
many VT100 clones, the IBM PC personal computer running the PC-DOS
operating system with the ANSI.SYS device handler, and several other
devices.
Command semantics:
The command options and their meanings are:
-s Underline and bolding attributes are to span white space. For
example, if two adjacent words are underlined, any intervening
spaces will also be underlined.
-i n The output text is to be indented by n spaces. Tab stops are
corrected for the indentation.
-o f Output is sent to file f, rather than to the standard output
(generally the screen).
Copyright (c) 1985 Digital Equipment Corporation
OVRSGR - Overstrike to SGR sequence translator Page 2
If no input files are specified, input is taken from the standard
input (generally the keyboard). If multiple input files are
specified, input is taken from each in turn; if a file does not end
with a line terminator, text from one file may appear on the same line
as text from the next file.
Defect reporting and suggestions:
Reports of defects or suggestions for improvement of this program
should be sent directly to its author:
Brian Hetrick
Digital Equipment Corporation
110 Spit Brook Road ZKO1-2/J10
Nashua NH 03062-2698.
Copyright (c) 1985 Digital Equipment Corporation